package com.recruit.wechat.bean;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author LF
 * @since 2020-08-25
 */
@TableName("wechat_education")
@ApiModel(value="WechatEducation对象", description="")
public class WechatEducation extends Model<WechatEducation> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "教育背景ID")
    @TableId(value = "education_id", type = IdType.AUTO)
    private Integer educationId;

    @ApiModelProperty(value = "学校名字")
    @TableField("education_school")
    private String educationSchool;

    @ApiModelProperty(value = "入学时间")
    @TableField("education_start_time")
    private String educationStartTime;

    @ApiModelProperty(value = "毕业时间")
    @TableField("education_end_time")
    private String educationEndTime;

    @ApiModelProperty(value = "学历ID")
    @TableField("education_label_id")
    private Integer educationLabelId;

    @ApiModelProperty(value = "专业ID")
    @TableField("education_major_id")
    private Integer educationMajorId;

    @ApiModelProperty(value = "创建时间")
    @TableField("education_create_time")
    private String educationCreateTime;

    @ApiModelProperty(value = "修改时间")
    @TableField("education_update_time")
    private String educationUpdateTime;

    public Integer getEducationId() {
        return educationId;
    }

    public void setEducationId(Integer educationId) {
        this.educationId = educationId;
    }
    public String getEducationSchool() {
        return educationSchool;
    }

    public void setEducationSchool(String educationSchool) {
        this.educationSchool = educationSchool;
    }
    public String getEducationStartTime() {
        return educationStartTime;
    }

    public void setEducationStartTime(String educationStartTime) {
        this.educationStartTime = educationStartTime;
    }
    public String getEducationEndTime() {
        return educationEndTime;
    }

    public void setEducationEndTime(String educationEndTime) {
        this.educationEndTime = educationEndTime;
    }
    public Integer getEducationLabelId() {
        return educationLabelId;
    }

    public void setEducationLabelId(Integer educationLabelId) {
        this.educationLabelId = educationLabelId;
    }
    public Integer getEducationMajorId() {
        return educationMajorId;
    }

    public void setEducationMajorId(Integer educationMajorId) {
        this.educationMajorId = educationMajorId;
    }
    public String getEducationCreateTime() {
        return educationCreateTime;
    }

    public void setEducationCreateTime(String educationCreateTime) {
        this.educationCreateTime = educationCreateTime;
    }
    public String getEducationUpdateTime() {
        return educationUpdateTime;
    }

    public void setEducationUpdateTime(String educationUpdateTime) {
        this.educationUpdateTime = educationUpdateTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.educationId;
    }

    @Override
    public String toString() {
        return "WechatEducation{" +
            "educationId=" + educationId +
            ", educationSchool=" + educationSchool +
            ", educationStartTime=" + educationStartTime +
            ", educationEndTime=" + educationEndTime +
            ", educationLabelId=" + educationLabelId +
            ", educationMajorId=" + educationMajorId +
            ", educationCreateTime=" + educationCreateTime +
            ", educationUpdateTime=" + educationUpdateTime +
        "}";
    }
}
